package test.service.bean;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author fhq
 * @date 2020/1/11 21:43
 */
@Getter
@Setter
public class UserAddress implements Serializable {
    private Integer id;
    private String userAddress;
    private String userId;
    // 收获人
    private String consignee;
    private String phoneNum;
    // 默认地址
    private boolean isDefault;

    public UserAddress(){

    }

    public UserAddress(Integer id, String userAddress, String userId, String consignee, String phoneNum, boolean isDefault) {
        this.id = id;
        this.userAddress = userAddress;
        this.userId = userId;
        this.consignee = consignee;
        this.phoneNum = phoneNum;
        this.isDefault = isDefault;
    }
}
